{% extends 'base.html' %}
{% load staticfiles %}
{% block title %}修改出库单{% endblock %}

{% block css %}

    <!-- Theme style -->
    <link rel="stylesheet" href="{% static 'dist/css/AdminLTE.min.css' %}">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="{% static 'dist/css/skins/_all-skins.min.css' %}">

{% endblock %}


{% block content %}
    <!-- Content Header (Page header) -->

    <section class="content-header">
        <h1>
            修改办公用品出库单
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
            <li>出库单</li>
            <li class="active">办公用品出库单</li>
        </ol>
    </section>


    <div class="container">
        <div class="col-md-offset-4 col-md-4">
            <form class="form-register" method="post">
                {% if message %}
                    <div class="alert alert-warning">{{ message }}</div>
                {% endif %}
                {% csrf_token %}


                <h2 class="text-center">修改办公用品出库单</h2>

                <div class="form-group">
                    {{ ex_warehouse_form.articles_name.label_tag }}
                    {{ ex_warehouse_form.articles_name }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.ex_warehouse_num.label_tag }}
                    {{ ex_warehouse_form.ex_warehouse_num }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.ex_warehouse_date.label_tag }}
                    {{ ex_warehouse_form.ex_warehouse_date }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.department.label_tag }}
                    {{ ex_warehouse_form.department }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.requisition.label_tag }}
                    {{ ex_warehouse_form.requisition }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.validator.label_tag }}
                    {{ ex_warehouse_form.validator }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.remarks.label_tag }}
                    {{ ex_warehouse_form.remarks }}
                </div>
                <div class="form-group">
                    {{ ex_warehouse_form.status_label.label_tag }}
                    {{ ex_warehouse_form.status_label }}
                </div>


                <button type="reset" class="btn btn-default pull-left">重置</button>
                <button type="submit" class="btn btn-primary pull-right">提交</button>
            </form>
        </div>
    </div>

{% endblock %}

{% block script %}
    <script src="{% static 'plugins/echarts.js' %}"></script>
    <!-- AdminLTE App -->
    <!-- SlimScroll 1.3.0 -->
    <script src="{% static 'plugins/slimScroll/jquery.slimscroll.min.js' %}"></script>
    <script src="{% static 'plugins/fastclick/fastclick.js' %}"></script>
    <!-- AdminLTE for demo purposes -->
    <script src="{% static 'dist/js/app.min.js' %}"></script>
    <!-- FastClick -->
    <script src="{% static 'dist/js/demo.js' %}"></script>
    <script src="{% static 'plugins/knob/jquery.knob.js' %}"></script>
    <!-- page script -->


{% endblock %}